const app = getApp();

Page({
  data: {
    userInfo: {}
  },
  onLoad (options) {
    const { userInfo } = app.globalData;
    this.setData({ userInfo });
  },
  onShow () {},
  onReachBottom () {},
  onPullDownRefresh () {},
  // 自定义方法
  halfDialogShow () {
    this.selectComponent('#halfDialog').$open();
  }
});
